package com.dandelion.manager.system.service;

import java.util.List;

import com.dandelion.commons.web.model.AjaxResponse;
import com.dandelion.manager.system.web.form.MoitorThreadinfoResult;
import com.dandelion.manager.system.web.form.MonitorCacheinfo;

public interface MonitorService {

	/**
	 * 获取所有缓存
	 * @return
	 */
	public List<MonitorCacheinfo> getCacheInfo();
	
	/**
	 * 刷新缓存
	 * @param cahcheNames
	 * @return
	 */
	public AjaxResponse freshenCache(String cacheNames) ;
	
	/**
	 * 线程信息
	 * @return
	 */
	public MoitorThreadinfoResult getThreadInfo();
}
